package com.wenwei.sharebox.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.wenwei.sharebox.R;

/**
 * Created by Administrator on 2017/7/13.
 */
public class ShareHistoryAdapter extends RecyclerView.Adapter<ShareHistoryAdapter.MyViewHolder>{

    @Override
    public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new MyViewHolder(LayoutInflater.from(parent.getContext()).inflate(R.layout.item_share_history,null));
    }

    @Override
    public void onBindViewHolder(MyViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 10;
    }

    public static class MyViewHolder extends RecyclerView.ViewHolder{
        public MyViewHolder(View view){
            super(view);
        }
    }
}
